<!--
#    Copyright 2009, Tri-County Electric Cooperative, St. Matthews, South Carolina
#    This file is part of COOPGIS.
#    COOPGIS is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#    COOPGIS is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#    You should have received a copy of the GNU General Public License
#    along with COOPGIS.  If not, see <http://www.gnu.org/licenses/>.
**************************************************************************
THIS FILE WAS DYNAMICALLY GENERATED BY THE DYNAMIC TEMPLATE INCLUDE
MODIFICATIONS TO THIS FILE WILL BE PERIODICALLY OVERWRITTEN!!!!!
MODIFY THIS TEMPLATE IN THE DYNAMICTEMPLATE.PY FILE
**************************************************************************
-->

<html xmlns="http://www.w3.org/1999/xhtml">
  <head> 
    <style type="text/css">
        #map {
            width: 750px;
            height: 600px;
            border: 1px solid black;
        }
    </style>
    <script src="/openlayers/lib/OpenLayers.js"></script>
    <script type="text/javascript">
        var lon = -80.9;
        var lat = 33.7;
        var zoom = 8;
        var map, LayerElectricNetwork, scalebar;
	var options = {maxResolution: 0.17578125, numZoomLevels: 24, maxExtent: new OpenLayers.Bounds(-83, 33, -79, 35),
		'tileSize': new OpenLayers.Size(1024,1024)};
        function init(){
            map = new OpenLayers.Map('map', options);
            LayerElectricNetwork = new OpenLayers.Layer.WMS("ElectricNetwork", 
                    "/cgi-bin/mapserv?MAP={{MapFileName}}",{Layers:"{{LayerName}}"},
		     {'buffer':0});
            map.addLayer(LayerElectricNetwork);
	    {{ OpenLayersZoom }}    
        }
    </script>
    <title>COOPGIS Condition Work</title>
  </head>
  <body onload="init()">
<b>{{LoginStatus}}</b>   &nbsp&nbsp&nbsp&nbsp <small><a href="/coopgis/">Main Menu</a></small><br>
<br>

<table width="100%">
<form method="post" action="">
<COLGROUP span="400" width="600">

<tr><td valign="top"><div id="map"></div><br>

<table width="75%">
<tr>
</tr>
</table>
</td>
<td valign="top" width="50%">
         <small>Map {{form.Map}} &nbsp&nbsp&nbsp&nbsp<input type="submit"/><br>
         Select Using GPS{{form.SelectGPSIndicator}} {{GPSStatus}}<br>
         <b>Selection</b> Station {{form.SelectStationid}}
         Tag {{form.SelectTagNumber}}<br>
         RoadName {{form.SelectRoadName}}<br>
         MeterNumber {{form.SelectMeterNumber}}<br>
         DCSINumber {{form.SelectDCSINumber}}<br>

</colgroup>
<table> 
        
        <tr><td valign="top">&nbsp</td><td valign="top">&nbsp</td></tr>
        <tr><td valign="top"><small>
			<b>Update:</b>  {{form.UpdateIndicator0}}
                        ID {{form.Conditionid0}}<br>                        
                     
                        Station ID{{form.StationIdentifier0}}
                        TagNumber{{form.TagNumber0}}<br>
                     
                        <b>Review</b> {{form.ReviewIndicator0}}
                        Additional Attention Needed{{form.ReviewAdditionalAttentionNeededIndicator0}}<br>  
                        Comments{{form.ReviewComments0}}<br>
                        UserName{{form.ReviewUserName0}}<br>
                        DateTime{{form.ReviewDateTime0}}<br>
                        <br>
                        Deleted {{form.DeletedIndicator0}}<br>
                        <br>
                        <b>Archived</b>{{form.ArchivedIndicator0}}
                        UserName{{form.ArchivedUserName0}}
                        Date{{form.ArchivedDateTime0}}<br>
                        <b>Create</b> Date {{form.CreateDateTime0}}
                        UserName{{form.CreateUserName0}}<br>
                        <b>Last Modify</b> Date {{form.LastModifyDateTime0}}
                        UserName{{form.LastModifyUserName0}}<br>
                        </small></td></tr> 
</table>
</td></tr>
</table>
</form>
<br>
</ul>
  </body>
</html>